import request from '../../../utils/request';

export const eurekaInfoData = query => {
    return request({
        url: '/api/upp/eureka/getDeploys',
        method: 'post',
        params: query,
    });
};

export const handleStop = query => {
    return request({
        url: '/api/upp/eureka/handleStop',
        method: 'post',
        params: query,
        timeout:null
    });
};

export const handleStart = query => {
    return request({
        url: '/api/upp/eureka/handleStart',
        method: 'post',
        params: query,
        timeout:null
    });
};
